summaryrefslogtreecommitdiff
path: root/plugins/alt/autoghost.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 /plugins/alt/autoghost.cpp
parentd26ab5f2338aaf07289dd57c7770f85a79cf7b2b (diff)
Cleaned up unneeded files, some bugfixes
ismaster/isuser now gets called with origin_raw
Diffstat (limited to 'plugins/alt/autoghost.cpp')
-rw-r--r--plugins/alt/autoghost.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/plugins/alt/autoghost.cpp b/plugins/alt/autoghost.cpp
deleted file mode 100644
index 5e57d57..0000000
--- a/plugins/alt/autoghost.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-#include <iostream>
-#include <string>
-
-using namespace std;
-
-#include "../TPluginParentLight.h"
-#include "../mytypes.h"
-#include "../myfuncs.h"
-
-extern "C" void init(int* csize, int* conndefault, int* chandefault, int* sessdefault)
-{
- *csize=0; *conndefault=PFLAGS_EXEC_ONANYEVENT | PFLAGS_EXEC_ONCREATE; *chandefault=0; *sessdefault=0;
-}
-
-extern "C" void autoghost (plugincontext* context, ircmessage msg, TPluginParentLight* parent, int reason)
-{
- //if (reason&PFLAGS_EXEC_ONANYEVENT)
- // cout << msg.origin << ": " << msg.command << " " << msg.params << ": " << msg.content << endl;
- cout << "connect YAY!" << reason << endl;
-
- if (reason&PFLAGS_EXEC_ONCREATE)
- {
- if (lcase(parent->get_ournick())!="drunkenman")
- {
- cout << "hey!" << endl;
- }
- }
-}