summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/stats/m_chanstats.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/stats/m_chanstats.cpp b/modules/stats/m_chanstats.cpp
index ab67e311b..54bf69299 100644
--- a/modules/stats/m_chanstats.cpp
+++ b/modules/stats/m_chanstats.cpp
@@ -259,8 +259,8 @@ class MChanstats : public Module
{
query = "CREATE TABLE `" + prefix + "chanstats` ("
"`id` int(11) NOT NULL AUTO_INCREMENT,"
- "`chan` varchar(255) NOT NULL DEFAULT '',"
- "`nick` varchar(255) NOT NULL DEFAULT '',"
+ "`chan` varchar(255) DEFAULT NULL,"
+ "`nick` varchar(255) DEFAULT NULL,"
"`type` ENUM('total', 'monthly', 'weekly', 'daily') NOT NULL,"
"`letters` int(10) unsigned NOT NULL DEFAULT '0',"
"`words` int(10) unsigned NOT NULL DEFAULT '0',"