diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2016-01-23 21:30:25 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2016-01-23 21:30:25 +0000 |
commit | 4e1235388138cf7bbfb5c1649fe50ca25e772dc3 (patch) | |
tree | 8480130140d0208c69bad5135e2ac5d8e4aa2649 /protocols | |
parent | 80d4cfa17561668df13f7ffc4de6d3a05f0cca01 (diff) |
IRC:
- Fixed perform actions
git-svn-id: http://svn.miranda-ng.org/main/trunk@16155 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/IRCG/src/commandmonitor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp index 8a7ac8350c..f22fe29089 100644 --- a/protocols/IRCG/src/commandmonitor.cpp +++ b/protocols/IRCG/src/commandmonitor.cpp @@ -322,7 +322,7 @@ bool CIrcProto::OnIrc_SETAWAY(const CIrcMessage* pmsg) ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)Temp, ID_STATUS_AWAY);
if (m_perform) {
- switch (m_iStatus) {
+ switch (Temp) {
case ID_STATUS_AWAY:
DoPerform("Event: Away");
break;
@@ -2344,7 +2344,7 @@ bool CIrcProto::DoOnConnect(const CIrcMessage*) DoPerform("ALL NETWORKS");
if (IsConnected()) {
DoPerform(_T2A(m_info.sNetwork.c_str()));
- switch (m_iStatus) {
+ switch (Temp) {
case ID_STATUS_FREECHAT: DoPerform("Event: Free for chat"); break;
case ID_STATUS_ONLINE: DoPerform("Event: Available"); break;
}
|