diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_timedbans.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index 61c0abaa3..400ec098e 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -185,8 +185,9 @@ class ModuleTimedBans : public Module Event rmode((char *)&n, NULL, "send_mode"); rmode.Send(ServerInstance); DELETE(temp); - free(setban[0]); - free(setban[2]); + // i hate free. + free((char*)setban[0]); + free((char*)setban[2]); } else { |