summaryrefslogtreecommitdiff
path: root/myfuncs.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@thinkpad.(none)>2011-02-28 18:48:58 +0100
committerFlorian Jung <flo@thinkpad.(none)>2011-02-28 18:48:58 +0100
commit74377ece178e661194a40fa79238b3089bb0d0f2 (patch)
treea1313c5518c5304b90396ef6ed3c04088e8fefe0 /myfuncs.cpp
parentd26ab5f2338aaf07289dd57c7770f85a79cf7b2b (diff)
Cleaned up unneeded files, some bugfixes
ismaster/isuser now gets called with origin_raw
Diffstat (limited to 'myfuncs.cpp')
-rw-r--r--myfuncs.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/myfuncs.cpp b/myfuncs.cpp
index 4e28976..cbe8c2f 100644
--- a/myfuncs.cpp
+++ b/myfuncs.cpp
@@ -11,6 +11,7 @@
#include <netdb.h>
#include <cstring>
#include <dlfcn.h>
+#include <cstdlib>
#include "myfuncs.h"
@@ -226,3 +227,9 @@ int numchanperm (string m)
return 0;
}
}
+
+void panic()
+{
+ cout << endl << "DrunkenMan panicked and commited suicide." << endl;
+ exit(1);
+}