summaryrefslogtreecommitdiff
path: root/src/users.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:13 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:13 +0000
commita3a360394e4bc9e1c33a278e05364a0a1a610421 (patch)
tree26b479c49cc426f5546a66ee7ba33acd77967db5 /src/users.c
parent63304b3a01a237cff2943373e4467dd678eadb53 (diff)
Add MODULE_INIT to all modules, fix a few various crashes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1273 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/users.c')
-rw-r--r--src/users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.c b/src/users.c
index 38fa5eee4..1ba88f426 100644
--- a/src/users.c
+++ b/src/users.c
@@ -31,7 +31,7 @@ User::User(const std::string &nick)
{
User **list;
// XXX: we could do well to steal CoreException from insp
- if (!nick.empty())
+ if (nick.empty())
throw "what the craq, empty nick passed to constructor";
// XXX: we should also duplicate-check here.