summaryrefslogtreecommitdiff
path: root/src/botserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/botserv.c')
-rw-r--r--src/botserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/botserv.c b/src/botserv.c
index 17f922133..1e9ad3067 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -1151,9 +1151,9 @@ static void bot_raw_mode(User * requester, ChannelInfo * ci, char *mode,
char *av[4];
int ac;
char buf[BUFSIZE];
- *buf = '\0';
User *u;
+ *buf = '\0';
u = finduser(nick);
if (!u || !is_on_chan(ci->c, u))