From 1b0ebcadfa1003b8e2d873a572633e4d1c0286de Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Wed, 21 Mar 2012 22:20:18 +0100 Subject: fixed bug #1399 --- modules/commands/cs_seen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/commands/cs_seen.cpp') diff --git a/modules/commands/cs_seen.cpp b/modules/commands/cs_seen.cpp index 8466cf82c..0143f50d6 100644 --- a/modules/commands/cs_seen.cpp +++ b/modules/commands/cs_seen.cpp @@ -346,7 +346,8 @@ class CSSeen : public Module void OnUserConnect(dynamic_reference &u, bool &exempt) anope_override { - UpdateUser(u, NEW, u->nick, "", "", ""); + if (u) + UpdateUser(u, NEW, u->nick, "", "", ""); } void OnUserNickChange(User *u, const Anope::string &oldnick) anope_override -- cgit