This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -urN znc-0.206-orig//Client.cpp znc-0.206/Client.cpp | |
--- znc-0.206-orig//Client.cpp 2012-04-06 04:25:50.000000000 +0900 | |
+++ znc-0.206/Client.cpp 2012-04-23 12:24:40.000000000 +0900 | |
@@ -389,17 +389,28 @@ | |
} | |
// Relay to the rest of the clients that may be connected to this user | |
- if (m_pUser->IsChan(sTarget)) { | |
- vector<CClient*>& vClients = m_pUser->GetClients(); | |
+ //if (m_pUser->IsChan(sTarget)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import re | |
from code import InteractiveInterpreter | |
import znc | |
class pyeval(znc.Module, InteractiveInterpreter): | |
module_types = [znc.CModInfo.UserModule, znc.CModInfo.NetworkModule] | |
description = 'Evaluates python code' |