mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
clang-format: switch tabs to spaces
I like tabs, but I have to admit that spaces make source code more consistent, because every editor/viewer tends to render tabs differently :(
This commit is contained in:
+13
-13
@@ -18,26 +18,26 @@
|
||||
|
||||
class CRawMod : public CModule {
|
||||
public:
|
||||
MODCONSTRUCTOR(CRawMod) {}
|
||||
virtual ~CRawMod() {}
|
||||
MODCONSTRUCTOR(CRawMod) {}
|
||||
virtual ~CRawMod() {}
|
||||
|
||||
EModRet OnRaw(CString& sLine) override {
|
||||
PutModule("IRC -> [" + sLine + "]");
|
||||
return CONTINUE;
|
||||
}
|
||||
EModRet OnRaw(CString& sLine) override {
|
||||
PutModule("IRC -> [" + sLine + "]");
|
||||
return CONTINUE;
|
||||
}
|
||||
|
||||
void OnModCommand(const CString& sCommand) override { PutIRC(sCommand); }
|
||||
void OnModCommand(const CString& sCommand) override { PutIRC(sCommand); }
|
||||
|
||||
EModRet OnUserRaw(CString& sLine) override {
|
||||
PutModule("YOU -> [" + sLine + "]");
|
||||
return CONTINUE;
|
||||
}
|
||||
EModRet OnUserRaw(CString& sLine) override {
|
||||
PutModule("YOU -> [" + sLine + "]");
|
||||
return CONTINUE;
|
||||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
void TModInfo<CRawMod>(CModInfo& Info) {
|
||||
Info.SetWikiPage("raw");
|
||||
Info.AddType(CModInfo::UserModule);
|
||||
Info.SetWikiPage("raw");
|
||||
Info.AddType(CModInfo::UserModule);
|
||||
}
|
||||
|
||||
NETWORKMODULEDEFS(CRawMod, "View all of the raw traffic")
|
||||
|
||||
Reference in New Issue
Block a user