diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-18 23:22:42 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-18 23:22:42 +0000 |
commit | 4768beb328eeab41117900a2b3e0388e570ea279 (patch) | |
tree | 7bb923721c4e83c291f88908e8765f23b3a92640 | |
parent | 60c88393a01470375ad978c3323f1f8e2b52e7ad (diff) |
Fix compile caused by careless backport, thanks DP.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2110 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | src/channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channels.c b/src/channels.c index c77ac6e22..167af3013 100644 --- a/src/channels.c +++ b/src/channels.c @@ -1819,7 +1819,7 @@ Channel *join_user_update(User * user, Channel * chan, char *name, if (chan->creation_time > chants && chants != 0) { struct c_userlist *cu; - const char *modes[6]; + char *modes[6]; chan->creation_time = chants; for (cu = chan->users; cu; cu = cu->next) @@ -1833,7 +1833,7 @@ Channel *join_user_update(User * user, Channel * chan, char *name, if (chan->ci && chan->ci->bi) { /* This is ugly, but it always works */ - ircdproto->SendPart(chan->ci->bi, chan->name, "TS reop"); + anope_cmd_part(chan->ci->bi->nick, chan->name, "TS reop"); bot_join(chan->ci); } /* XXX simple modes and bans */ |