summaryrefslogtreecommitdiff
path: root/src/users.c
diff options
context:
space:
mode:
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.