summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-29 05:41:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-29 05:41:03 +0000
commitb0a467e8d3064177e3ceaaa6c207a3e625d2125a (patch)
tree489182ac0cf4cf360f6060b5ab7c52c16571d780 /src/modules
parentea3dc510c16a9bd2c35b51eeeccad313badc03c7 (diff)
Highly optimized userrec saving 1.5k per user
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1550 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_timedbans.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp
index 884a029b9..0265a1c5b 100644
--- a/src/modules/m_timedbans.cpp
+++ b/src/modules/m_timedbans.cpp
@@ -152,6 +152,7 @@ class ModuleTimedBans : public Module
// falls into the abyss :p
userrec* temp = new userrec;
temp->fd = FD_MAGIC_NUMBER;
+ temp->server = "";
Srv->SendMode(setban,3,temp);
delete temp;
}