Another patch by DarthGandalf, thanks

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1777 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-02-19 17:06:42 +00:00
parent 20e8465b60
commit d2931d289a
15 changed files with 77 additions and 77 deletions
+5 -5
View File
@@ -289,7 +289,7 @@ public:
private:
void Process(const CNick& Nick, const CString& sMessage, const CString& sSource) {
for (list<CWatchEntry>::iterator it = m_lsWatchers.begin(); it != m_lsWatchers.end(); it++) {
for (list<CWatchEntry>::iterator it = m_lsWatchers.begin(); it != m_lsWatchers.end(); ++it) {
CWatchEntry& WatchEntry = *it;
if (WatchEntry.IsMatch(Nick, sMessage, sSource, m_pUser)) {
@@ -306,7 +306,7 @@ private:
void SetDisabled(unsigned int uIdx, bool bDisabled) {
if (uIdx == (unsigned int) ~0) {
for (list<CWatchEntry>::iterator it = m_lsWatchers.begin(); it != m_lsWatchers.end(); it++) {
for (list<CWatchEntry>::iterator it = m_lsWatchers.begin(); it != m_lsWatchers.end(); ++it) {
(*it).SetDisabled(bDisabled);
}
@@ -478,7 +478,7 @@ private:
CWatchEntry WatchEntry(sHostMask, sTarget, sPattern);
bool bExists = false;
for (list<CWatchEntry>::iterator it = m_lsWatchers.begin(); it != m_lsWatchers.end(); it++) {
for (list<CWatchEntry>::iterator it = m_lsWatchers.begin(); it != m_lsWatchers.end(); ++it) {
if (*it == WatchEntry) {
sMessage = "Entry for [" + WatchEntry.GetHostMask() + "] already exists.";
bExists = true;
@@ -505,7 +505,7 @@ private:
void Save() {
ClearNV(false);
for (list<CWatchEntry>::iterator it = m_lsWatchers.begin(); it != m_lsWatchers.end(); it++) {
for (list<CWatchEntry>::iterator it = m_lsWatchers.begin(); it != m_lsWatchers.end(); ++it) {
CWatchEntry& WatchEntry = *it;
CString sSave;
@@ -530,7 +530,7 @@ private:
bool bWarn = false;
for (MCString::iterator it = BeginNV(); it != EndNV(); it++) {
for (MCString::iterator it = BeginNV(); it != EndNV(); ++it) {
VCString vList;
it->first.Split("\n", vList);