/*
* ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001-2014 Alexander Barton (alex@barton.de) and Contributors.
+ * Copyright (c)2001-2015 Alexander Barton (alex@barton.de) and Contributors.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
while (chan) {
Channel_Part(target, Client, chan,
- Req->argc > 1 ? Req->argv[1] : Client_ID(target));
+ Req->argc > 1 ? Req->argv[1] : "");
chan = strtok(NULL, ",");
}
"323 nick :End of LIST"
}
-send "part #channel\r"
+send "part #channel :bye bye\r"
expect {
timeout { exit 1 }
- "@* PART #channel :nick"
+ "@* PART #channel :bye bye"
}
send "join #channel\r"
send "join 0\r"
expect {
timeout { exit 1 }
- "@* PART #channel2 :nick"
+ "@* PART #channel2 :"
}
expect {
timeout { exit 1 }
- "@* PART #channel :nick"
+ "@* PART #channel :"
}
send "quit\r"