summaryrefslogtreecommitdiff
path: root/modules/extra/stats/irc2sql/tables.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-11-05 10:34:09 -0400
committerAdam <Adam@anope.org>2016-11-05 10:34:09 -0400
commitf09ea316dda61a162253b373689c05dfbfd29d6e (patch)
tree8653e198efd18959203222bad5afe4c6b37579e4 /modules/extra/stats/irc2sql/tables.cpp
parentac0f3c5ccf9610f38204d5f9f8876657ce6acfb5 (diff)
irc2sql: update max topic len to 512
Diffstat (limited to 'modules/extra/stats/irc2sql/tables.cpp')
-rw-r--r--modules/extra/stats/irc2sql/tables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/stats/irc2sql/tables.cpp b/modules/extra/stats/irc2sql/tables.cpp
index bb7a8edd7..c58e09e23 100644
--- a/modules/extra/stats/irc2sql/tables.cpp
+++ b/modules/extra/stats/irc2sql/tables.cpp
@@ -87,7 +87,7 @@ void IRC2SQL::CheckTables()
query = "CREATE TABLE `" + prefix + "chan` ("
"`chanid` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,"
"`channel` varchar(255) NOT NULL,"
- "`topic` varchar(255) DEFAULT NULL,"
+ "`topic` varchar(512) DEFAULT NULL,"
"`topicauthor` varchar(255) DEFAULT NULL,"
"`topictime` datetime DEFAULT NULL,"
"`modes` varchar(512) DEFAULT NULL,"