mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
Add clang-format configuration.
For now, it uses tabs like before, to make the diff easier to read/check. One of following commits will switch it to spaces.
This commit is contained in:
+4
-6
@@ -17,7 +17,7 @@
|
||||
#include <znc/Modules.h>
|
||||
|
||||
class CRawMod : public CModule {
|
||||
public:
|
||||
public:
|
||||
MODCONSTRUCTOR(CRawMod) {}
|
||||
virtual ~CRawMod() {}
|
||||
|
||||
@@ -26,9 +26,7 @@ public:
|
||||
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 + "]");
|
||||
@@ -36,10 +34,10 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
template<> void TModInfo<CRawMod>(CModInfo& Info) {
|
||||
template <>
|
||||
void TModInfo<CRawMod>(CModInfo& Info) {
|
||||
Info.SetWikiPage("raw");
|
||||
Info.AddType(CModInfo::UserModule);
|
||||
}
|
||||
|
||||
NETWORKMODULEDEFS(CRawMod, "View all of the raw traffic")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user