mirror of
https://github.com/znc/znc.git
synced 2026-05-07 05:44:41 +02:00
Some more fun with tabs
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1966 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+12
-12
@@ -29,8 +29,8 @@ public:
|
||||
// !Setters
|
||||
private:
|
||||
protected:
|
||||
bool m_bNegated;
|
||||
CString m_sSource;
|
||||
bool m_bNegated;
|
||||
CString m_sSource;
|
||||
};
|
||||
|
||||
class CWatchEntry {
|
||||
@@ -147,11 +147,11 @@ public:
|
||||
// !Setters
|
||||
private:
|
||||
protected:
|
||||
CString m_sHostMask;
|
||||
CString m_sTarget;
|
||||
CString m_sPattern;
|
||||
bool m_bDisabled;
|
||||
vector<CWatchSource> m_vsSources;
|
||||
CString m_sHostMask;
|
||||
CString m_sTarget;
|
||||
CString m_sPattern;
|
||||
bool m_bDisabled;
|
||||
vector<CWatchSource> m_vsSources;
|
||||
};
|
||||
|
||||
class CWatcherMod : public CModule {
|
||||
@@ -312,7 +312,7 @@ private:
|
||||
return;
|
||||
}
|
||||
|
||||
uIdx--; // "convert" index to zero based
|
||||
uIdx--; // "convert" index to zero based
|
||||
if (uIdx >= m_lsWatchers.size()) {
|
||||
PutModule("Invalid Id");
|
||||
return;
|
||||
@@ -388,7 +388,7 @@ private:
|
||||
}
|
||||
|
||||
void SetSources(unsigned int uIdx, const CString& sSources) {
|
||||
uIdx--; // "convert" index to zero based
|
||||
uIdx--; // "convert" index to zero based
|
||||
if (uIdx >= m_lsWatchers.size()) {
|
||||
PutModule("Invalid Id");
|
||||
return;
|
||||
@@ -404,7 +404,7 @@ private:
|
||||
}
|
||||
|
||||
void Remove(unsigned int uIdx) {
|
||||
uIdx--; // "convert" index to zero based
|
||||
uIdx--; // "convert" index to zero based
|
||||
if (uIdx >= m_lsWatchers.size()) {
|
||||
PutModule("Invalid Id");
|
||||
return;
|
||||
@@ -549,8 +549,8 @@ private:
|
||||
PutModule("WARNING: malformed entry found while loading");
|
||||
}
|
||||
|
||||
list<CWatchEntry> m_lsWatchers;
|
||||
CBuffer m_Buffer;
|
||||
list<CWatchEntry> m_lsWatchers;
|
||||
CBuffer m_Buffer;
|
||||
};
|
||||
|
||||
MODULEDEFS(CWatcherMod, "Copy activity from a specific user into a separate window")
|
||||
|
||||
Reference in New Issue
Block a user