summaryrefslogtreecommitdiff
path: root/modules/commands/cs_seen.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2012-03-21 22:20:18 +0100
committerDukePyrolator <DukePyrolator@anope.org>2012-03-21 22:20:18 +0100
commit1b0ebcadfa1003b8e2d873a572633e4d1c0286de (patch)
treec3df32520b3f52ef8b733397b35208ad1fb2776c /modules/commands/cs_seen.cpp
parent0d100ffacc3c3286f42bb1f8392513bef8c572a9 (diff)
fixed bug #1399
Diffstat (limited to 'modules/commands/cs_seen.cpp')
-rw-r--r--modules/commands/cs_seen.cpp3
1 files changed, 2 insertions, 1 deletions
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<User> &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