about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2010-01-16 14:07:27 +0100
committerAlexander Barton <alex@barton.de>2010-01-16 14:07:27 +0100
commit3a2ac66f7ff5985cae4de390a8e510ae7ff2a5a6 (patch)
tree78160560c325b74194a09412329a64b7d343ebfd /src
parentcf05bf31a7dbcb9228d07bb21c4673d515d908f3 (diff)
downloadngircd-3a2ac66f7ff5985cae4de390a8e510ae7ff2a5a6.tar.gz
ngircd-3a2ac66f7ff5985cae4de390a8e510ae7ff2a5a6.zip
Added missing modes to USERMODES #define
Now the numeric 004 correctly reports all the supported user and channel
modes (user modes "r" and "w" were missing), e. g.:

  :a.irc.net 004 a a.irc.net ngircd-15 aiorsw biIklmnoPstv
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/defines.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h
index f0cf2ac5..010dd8ea 100644
--- a/src/ngircd/defines.h
+++ b/src/ngircd/defines.h
@@ -1,14 +1,12 @@
 /*
  * ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001-2007 Alexander Barton (alex@barton.de)
+ * Copyright (c)2001-2010 Alexander Barton (alex@barton.de)
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * 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.
- *
- * $Id: defines.h,v 1.62 2007/11/21 12:16:36 alex Exp $
  */
 
 
@@ -82,7 +80,7 @@
 #define RECONNECT_DELAY 3		/* Time to delay re-connect attempts
 					   in seconds. */
 
-#define USERMODES "aios"		/* Supported user modes. */
+#define USERMODES "aiorsw"		/* Supported user modes. */
 #define CHANMODES "biIklmnoPstv"	/* Supported channel modes. */
 
 #define CONNECTED true			/* Internal status codes. */