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 d38ab917c..7665c6c6e 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -192,7 +192,7 @@ void botchanmsgs(User * u, ChannelInfo * ci, char *buf)
UserData *ud;
- if (!u) {
+ if (!u || !buf || !ci) {
return;
}