summaryrefslogtreecommitdiff
path: root/src/botserv.c
diff options
context:
space:
mode:
authorjantje_85 <jantje_85@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-09 22:23:09 +0000
committerjantje_85 <jantje_85@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-09 22:23:09 +0000
commit0b82d74262490887c83733544db5c250ea757d05 (patch)
treeb2cc28c65d7e6b2ea3af0b28cb1ecec639bbb1cc /src/botserv.c
parent5cb5dc197a6e6b63b6521f8c88354acd6318a552 (diff)
Fixed a number of TS6 issues, mainly related to nicks instead of IDs being given to anope_cmd_mode() in combination with a status change (Bug #1096). Also Fixed a small bug in os_oline.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2495 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/botserv.c')
-rw-r--r--src/botserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/botserv.c b/src/botserv.c
index 365c78dde..5de5a657d 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -1078,13 +1078,13 @@ void bot_raw_mode(User * requester, ChannelInfo * ci, char *mode,
av[0] = ci->name;
av[1] = buf;
av[2] = mode;
- av[3] = nick;
+ av[3] = GET_USER(u);
ac = 4;
anope_cmd_mode(ci->bi->nick, av[0], "%s %s", av[2], av[3]);
} else {
av[0] = ci->name;
av[1] = mode;
- av[2] = nick;
+ av[2] = GET_USER(u);
ac = 3;
anope_cmd_mode(ci->bi->nick, av[0], "%s %s", av[1], av[2]);
}