diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 01:16:26 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 01:16:26 +0000 |
commit | 6d835a6e49d41d8353ee8506dc6d7cf7b3f1047a (patch) | |
tree | 0600d11b587c41bd43e4cd37dbaab99220c34117 /src/protocol/ratbox.c | |
parent | 2c9f2eb991467197762d39b6a7eaf688c55520b3 (diff) |
Edit IRCDVar of inspircd12 so certain modules don't load on that IRCd, and small cosmetic fixes on a few other protocol modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2052 5417fbe8-f217-4b02-8779-1006273d7864
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) |