summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/channels.h2
-rw-r--r--include/configreader.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h
index 17e7364a4..7daab2167 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -178,7 +178,7 @@ class chanrec : public Extensible
/** The last user to set the topic.
* If this member is an empty string, no topic was ever set.
*/
- char setby[NICKMAX];
+ char setby[128];
/** Contains the channel user limit.
* If this value is zero, there is no limit in place.
diff --git a/include/configreader.h b/include/configreader.h
index 5e8c62e06..61cf887fa 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -503,6 +503,11 @@ class ServerConfig : public Extensible
*/
bool UndernetMsgPrefix;
+ /** If set to true, the full nick!user@host will be shown in the TOPIC command
+ * for who set the topic last. If false, only the nick is shown.
+ */
+ bool FullHostInTopic;
+
/** All oper type definitions from the config file
*/
opertype_t opertypes;