Initial revision

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2004-08-24 00:08:51 +00:00
parent 71a0088bea
commit 538d3ece4e
41 changed files with 10362 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#include "main.h"
#include "User.h"
#include "Nick.h"
#include "Modules.h"
#include "Chan.h"
class CRawMod : public CModule {
public:
MODCONSTRUCTOR(CRawMod) {}
virtual ~CRawMod() {}
virtual string GetDescription() {
return "View all of the raw traffic.";
}
virtual bool OnRaw(string& sLine) {
PutModule("IRC -> [" + sLine + "]");
return false;
}
virtual bool OnUserRaw(string& sLine) {
PutModule("YOU -> [" + sLine + "]");
return false;
}
};
MODULEDEFS(CRawMod)