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
@@ -122,7 +122,7 @@ public:
virtual void OnClientLogin()
{
set<CSocket*>::const_iterator it;
for (it = BeginSockets(); it != EndSockets(); it++) {
for (it = BeginSockets(); it != EndSockets(); ++it) {
CSChatSock *p = (CSChatSock*) *it;
if (p->GetType() == CSChatSock::LISTENER)
@@ -155,7 +155,7 @@ public:
if (sCom.Equals("chat") && !sArgs.empty()) {
CString sNick = "(s)" + sArgs;
set<CSocket*>::const_iterator it;
for (it = BeginSockets(); it != EndSockets(); it++) {
for (it = BeginSockets(); it != EndSockets(); ++it) {
CSChatSock *pSock = (CSChatSock*) *it;
if (pSock->GetChatNick().Equals(sNick)) {
@@ -194,7 +194,7 @@ public:
Table.AddColumn("Cipher");
set<CSocket*>::const_iterator it;
for (it = BeginSockets(); it != EndSockets(); it++) {
for (it = BeginSockets(); it != EndSockets(); ++it) {
Table.AddRow();
CSChatSock *pSock = (CSChatSock*) *it;
@@ -231,7 +231,7 @@ public:
sArgs = "(s)" + sArgs;
set<CSocket*>::const_iterator it;
for (it = BeginSockets(); it != EndSockets(); it++) {
for (it = BeginSockets(); it != EndSockets(); ++it) {
CSChatSock *pSock = (CSChatSock*) *it;
if (sArgs.Equals(pSock->GetChatNick())) {
@@ -250,7 +250,7 @@ public:
Table.AddColumn("Cipher");
set<CSocket*>::const_iterator it;
for (it = BeginSockets(); it != EndSockets(); it++) {
for (it = BeginSockets(); it != EndSockets(); ++it) {
Table.AddRow();
Csock *pSock = *it;
Table.SetCell("SockName", pSock->GetSockName());