diff options
-rw-r--r-- | include/channels.h | 2 | ||||
-rw-r--r-- | src/channels.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/channels.h b/include/channels.h index 2e1ede57c..96f9d8954 100644 --- a/include/channels.h +++ b/include/channels.h @@ -97,7 +97,7 @@ class chanrec : public Extensible /** Custom modes for the channel. * Plugins may use this field in any way they see fit. */ - char custom_modes[190]; /* modes handled by modules */ + char custom_modes[96]; /* modes handled by modules */ /** User list (casted to char*'s to stop forward declaration stuff) * (chicken and egg scenario!) diff --git a/src/channels.cpp b/src/channels.cpp index 3b05cf8ea..360996bd5 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -73,7 +73,7 @@ chanrec::chanrec() *name = *topic = *setby = *key = 0; created = topicset = limit = binarymodes = 0; internal_userlist.clear(); - memset(&custom_modes,0,190); + memset(&custom_modes,0,96); } void chanrec::SetCustomMode(char mode,bool mode_on) |