]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/userprocess.cpp
Did some renaming so that the methods for modes in chanrec and userrec are identical.
[user/henk/code/inspircd.git] / src / userprocess.cpp
index 956ddb61bea601aedf1784d5c08bb544f931a250..e9860b5947a38f90bd829db79df88da07cc863af 100644 (file)
@@ -20,7 +20,7 @@ using namespace std;
 
 #include "inspircd_config.h"
 #include "inspircd.h"
-#include "inspircd_io.h"
+#include "configreader.h"
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/errno.h>
@@ -324,7 +324,7 @@ void DoSocketTimeouts(time_t TIME)
                        SE->DelFd(s->GetFd());
                        module_sockets.erase(a);
                        s->Close();
-                       delete s;
+                       DELETE(s);
                        break;
                }
 
@@ -417,4 +417,3 @@ void DoBackgroundUserStuff(time_t TIME)
        /* Remove all the queued users who are due to be quit, free memory used. */
        GlobalGoners.Apply();
 }
-