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:
Alexey Sokolov
2015-12-06 22:36:35 +00:00
parent 02f8749a8b
commit 33b0627d75
132 changed files with 12743 additions and 8904 deletions
+4 -6
View File
@@ -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")