summaryrefslogtreecommitdiffstats
path: root/pymodule.c
diff options
context:
space:
mode:
authorChristopher Davis <loafier@gmail.com>2006-08-12 21:58:42 +0000
committerChristopher Davis <loafier@gmail.com>2006-08-12 21:58:42 +0000
commitf13ea25509e932d426ebd69d90368fe9b1d4c1ab (patch)
tree98883c3fd1c4e7912320ba0013a851bfde9133cc /pymodule.c
parentb1b54c58af7cd9419631d7b82b860a7b19097836 (diff)
downloadirssi-python-f13ea25509e932d426ebd69d90368fe9b1d4c1ab.tar.gz
irssi-python-f13ea25509e932d426ebd69d90368fe9b1d4c1ab.tar.xz
irssi-python-f13ea25509e932d426ebd69d90368fe9b1d4c1ab.zip
added support for constants
git-svn-id: http://svn.irssi.org/repos/irssi-python@4311 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'pymodule.c')
-rw-r--r--pymodule.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pymodule.c b/pymodule.c
index 8d6d028..7795c1a 100644
--- a/pymodule.c
+++ b/pymodule.c
@@ -825,7 +825,7 @@ static PyObject *py_notifylist_remove(PyObject *self, PyObject *args, PyObject *
}
PyDoc_STRVAR(py_notifylist_ison_doc,
- "notifylist_ison(nick, serverlist="") -> IrcServer object\n"
+ "notifylist_ison(nick, serverlist=\"\") -> IrcServer object\n"
"\n"
"Check if nick is in IRC. serverlist is a space separated list of server tags.\n"
"If it's empty string, all servers will be checked\n"
@@ -1666,6 +1666,10 @@ error:
for (node = gopt; node; node = node->next->next)
g_free(node->data);
+ g_slist_free(gstart);
+ g_slist_free(gstop);
+ g_slist_free(gopt);
+
return NULL;
}