mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
Merge branch 'master' of https://github.com/reality/dbot
This commit is contained in:
commit
eab1004215
@ -10,6 +10,12 @@ var api = function(dbot) {
|
||||
_.each(message.match(/(#\w+)/g), function(match) {
|
||||
tags.push(match.toLowerCase());
|
||||
});
|
||||
|
||||
if(_.has(this.config.full_redirs, cName)) {
|
||||
message = '(redirect from ' + cName + ') ' + message;
|
||||
cName = this.config.full_redirs[cName];
|
||||
}
|
||||
|
||||
this.db.save('notifies', id, {
|
||||
'id': id,
|
||||
'server': server,
|
||||
|
@ -20,8 +20,11 @@
|
||||
"chan_redirs": {
|
||||
"#chan": "#chan-notify"
|
||||
},
|
||||
"host_lookup": [
|
||||
"full_redirs": {
|
||||
"#chan": "#chan-fullnotify"
|
||||
},
|
||||
"host_lookup": {
|
||||
"#chan"
|
||||
],
|
||||
},
|
||||
"noMissingChans": []
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user