summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-22 20:02:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-22 20:02:33 +0000
commit93f7aad8ce487fbfa3561070d2e49c81bb4e6816 (patch)
tree1df3f2b63022124d8c24087b1aa87adac6af9d97 /src/modules
parentba878c4c5c5176c1cc42618aeafa8cc461a887af (diff)
mIRC sucks, and its author does too!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5526 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_safelist.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp
index 6abe2b092..3a0ef37dd 100644
--- a/src/modules/m_safelist.cpp
+++ b/src/modules/m_safelist.cpp
@@ -205,6 +205,10 @@ class ModuleSafeList : public Module
return 1;
}
+ /* Work around mIRC suckyness. YOU SUCK, KHALED! */
+ if ((pcnt == 1) && (*parameters[0] == '<'))
+ pcnt = 0;
+
time_t* last_list_time;
user->GetExt("safelist_last", last_list_time);
if (last_list_time)