diff options
Diffstat (limited to 'src/protocol/ratbox.c')
-rw-r--r-- | src/protocol/ratbox.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index f99a0bd0e..f0046d706 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -634,10 +634,8 @@ class RatboxProto : public IRCDTS6Proto void SendKickInternal(BotInfo *bi, const char *chan, const char *user, const char *buf) { User *u = finduser(user); - if (buf) send_cmd(bi->uid, "KICK %s %s :%s", chan, u ? u->GetUID().c_str() -: user, buf); - else send_cmd(bi->uid, "KICK %s %s", chan, u ? u->GetUID().c_str() -: user); + if (buf) send_cmd(bi->uid, "KICK %s %s :%s", chan, u ? u->GetUID().c_str() : user, buf); + else send_cmd(bi->uid, "KICK %s %s", chan, u ? u->GetUID().c_str() : user); } void SendNoticeChanopsInternal(BotInfo *source, const char *dest, const char *buf) |