git.99rst.org
/
znc-palaver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
26c5b5c
)
Don't use m_pClient from a global module hook
author
Kyle Fuller
<redacted>
Tue, 4 Jun 2013 17:10:29 +0000
(18:10 +0100)
committer
Kyle Fuller
<redacted>
Tue, 4 Jun 2013 17:10:29 +0000
(18:10 +0100)
Fixes #5
palaver.cpp
patch
|
blob
|
history
diff --git
a/palaver.cpp
b/palaver.cpp
index 4bee0275d5aece0924698cccffaf5e97a951d023..3f85379bce322ad783b3cb8ecd84d248ee61d435 100644
(file)
--- a/
palaver.cpp
+++ b/
palaver.cpp
@@
-377,9
+377,9
@@
public:
CString sCommand = sLine.Token(1);
if (sCommand.Equals("BACKGROUND")) {
-
m_
pClient->SetAway(true);
+ pClient->SetAway(true);
} else if (sCommand.Equals("FOREGROUND")) {
-
m_
pClient->SetAway(false);
+ pClient->SetAway(false);
} else if (sCommand.Equals("IDENTIFY")) {
CDevice *pDevice = DeviceForClient(*pClient);
if (pDevice) {
git clone https://git.99rst.org/PROJECT