From 6ff83c3407cccd393c0d6f620986ed5a3953eb95 Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Sun, 15 Dec 2013 16:24:22 +0100 Subject: [PATCH] m_chanstats: changed the default value of some fields to NULL instead of '' --- modules/stats/m_chanstats.cpp | 4 ++-- 1 file 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',"