diff -ur weechat-devel/src/plugins/scripts/python/weechat-python.c weechat-devel-fixed/src/plugins/scripts/python/weechat-python.c --- weechat-devel/src/plugins/scripts/python/weechat-python.c 2007-03-06 22:42:39.000000000 +0600 +++ weechat-devel-fixed/src/plugins/scripts/python/weechat-python.c 2007-03-09 17:17:43.222642736 +0600 @@ -2051,7 +2051,7 @@ return Py_None; } - if (!PyArg_ParseTuple (args, "|ss", &server, &channel)) + if (!PyArg_ParseTuple (args, "ss|", &server, &channel)) { python_plugin->print_server (python_plugin, "Python error: wrong parameters for "