mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
fix object object nonsense
This commit is contained in:
parent
face69d31a
commit
92c045d8c7
@ -79,7 +79,7 @@ var kick = function(dbot) {
|
||||
'quietee': quietee,
|
||||
'minutes': duration
|
||||
}));
|
||||
dbot.api.report.notify('quiet', server, quieter, channel,
|
||||
dbot.api.report.notify('quiet', server, quieter.primaryNick, channel,
|
||||
dbot.t('tquiet_notify', {
|
||||
'minutes': duration,
|
||||
'quieter': quieter.primaryNick,
|
||||
@ -89,9 +89,9 @@ var kick = function(dbot) {
|
||||
);
|
||||
} else {
|
||||
callback(dbot.t('quieted', { 'quietee': quietee }));
|
||||
dbot.api.report.notify('quiet', server, quieter, channel,
|
||||
dbot.api.report.notify('quiet', server, quieter.primaryNick, channel,
|
||||
dbot.t('quiet_notify', {
|
||||
'quieter': quieter,
|
||||
'quieter': quieter.primaryNick,
|
||||
'quietee': quietee,
|
||||
'reason': reason
|
||||
}), false, quietee);
|
||||
|
Loading…
Reference in New Issue
Block a user