From 4768beb328eeab41117900a2b3e0388e570ea279 Mon Sep 17 00:00:00 2001 From: rburchell Date: Wed, 18 Feb 2009 23:22:42 +0000 Subject: 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 --- src/channels.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 */ -- cgit