]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-mode.c
hash: use more recent lookup3 algorithm instead of lookup2
[ngircd-alex.git] / src / ngircd / irc-mode.c
index 30f4dee3ef26b9249c1d9f1aba76802c01df0c1d..50b0db0476cf4eab116d8192606843ac0c351fe2 100644 (file)
@@ -7,13 +7,15 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
- *
- * IRC commands for mode changes (MODE, AWAY, ...)
  */
 
-
 #include "portab.h"
 
+/**
+ * @file
+ * IRC commands for mode changes (like MODE, AWAY, etc.)
+ */
+
 #include "imp.h"
 #include <assert.h>
 #include <stdio.h>
@@ -202,7 +204,7 @@ Client_Mode( CLIENT *Client, REQUEST *Req, CLIENT *Origin, CLIENT *Target )
 
                        case 'x': /* Cloak hostname */
                                if (Client_HasMode(Client, 'r'))
-                                       IRC_WriteStrClient(Origin,
+                                       ok = IRC_WriteStrClient(Origin,
                                                           ERR_RESTRICTED_MSG,
                                                           Client_ID(Origin));
                                else