Author: Isomer <isomer@undernet.org>
authorPerry Lorier <isomer@undernet.org>
Wed, 11 Jul 2007 21:39:52 +0000 (21:39 +0000)
committerPerry Lorier <isomer@undernet.org>
Wed, 11 Jul 2007 21:39:52 +0000 (21:39 +0000)
Log message:

Commit the fix for the changelog I posted :)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1817 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ircd/m_user.c

index aa172e49af380e4bfb336025575c0057ffe62f5f..6316463cb22f56a668b4845e9b553a0137075f11 100644 (file)
@@ -140,7 +140,7 @@ int m_user(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
     username = "NoUser";
 
   if ((mode_request = strtoul(parv[2], &term, 10)) != 0
-      && term != NULL && *term != '\0')
+      && term != NULL && *term == '\0')
   {
     /* These bitmask values are codified in RFC 2812, showing
      * ... well, something that is probably best not said.