mirror of
https://github.com/znc/znc.git
synced 2026-07-02 16:02:02 +02:00
Initial revision
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user