comparison src/protocols/irc/irc.c @ 8677:cc2ce209cc46

[gaim-migrate @ 9430] marv's patch for GtkIMHtml. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 17 Apr 2004 13:58:29 +0000
parents 72a0759a37a2
children 7024b595b6ae
comparison
equal deleted inserted replaced
8676:e096d797d958 8677:cc2ce209cc46
185 char *buf, **userparts; 185 char *buf, **userparts;
186 const char *username = gaim_account_get_username(account); 186 const char *username = gaim_account_get_username(account);
187 int err; 187 int err;
188 188
189 gc = gaim_account_get_connection(account); 189 gc = gaim_account_get_connection(account);
190 gc->flags |= GAIM_CONNECTION_NO_NEWLINES;
190 191
191 if (strpbrk(username, " \t\v\r\n") != NULL) { 192 if (strpbrk(username, " \t\v\r\n") != NULL) {
192 gaim_connection_error(gc, _("IRC nicks may not contain whitespace")); 193 gaim_connection_error(gc, _("IRC nicks may not contain whitespace"));
193 return; 194 return;
194 } 195 }