summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-27 15:20:43 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-27 15:20:43 +0000
commitb86ba628040e82148ca8da8bf7b09792f3e40e4b (patch)
tree2d992fe4e0898245ae40c4319b8c74ac219ac8bb /src
parent097e19291f90bc35be8d307092435cd036e23dd2 (diff)
Delete R:Lines from memory on destroy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10313 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_rline.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/extra/m_rline.cpp b/src/modules/extra/m_rline.cpp
index 10a3ddf01..cdb725a83 100644
--- a/src/modules/extra/m_rline.cpp
+++ b/src/modules/extra/m_rline.cpp
@@ -217,6 +217,7 @@ class ModuleRLine : public Module
virtual ~ModuleRLine()
{
+ ServerInstance->XLines->DelAll("R");
ServerInstance->XLines->UnregisterFactory(f);
}