Skip to content

Instantly share code, notes, and snippets.

View amyreese's full-sized avatar
🐍
herding snakes

Amethyst Reese amyreese

🐍
herding snakes
View GitHub Profile
@jonypoins
jonypoins / znc-0.206.diff
Created April 25, 2012 05:10
ZNC: Self-written Query Message Relay, Query Buffering, Webadmin Patch
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)) {
@kylef
kylef / pyeval.py
Last active September 25, 2015 01:27
Python Evaluate for ZNC modpython
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'