mirror of
https://github.com/znc/znc.git
synced 2026-05-09 06:44:40 +02:00
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:
+5
-5
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user