aboutsummaryrefslogtreecommitdiffstats
path: root/irc_channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_channel.c')
-rw-r--r--irc_channel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/irc_channel.c b/irc_channel.c
index 88aecce6..0a6e11d2 100644
--- a/irc_channel.c
+++ b/irc_channel.c
@@ -19,8 +19,8 @@
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL;
- if not, write to the Free Software Foundation, Inc., 59 Temple Place,
- Suite 330, Boston, MA 02111-1307 USA
+ if not, write to the Free Software Foundation, Inc., 51 Franklin St.,
+ Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "bitlbee.h"
@@ -574,7 +574,7 @@ static gboolean control_channel_privmsg( irc_channel_t *ic, const char *msg )
const char *s;
/* Scan for non-whitespace chars followed by a colon: */
- for( s = msg; *s && !isspace( *s ) && *s != ':' && *s != ','; s ++ ) {}
+ for( s = msg; *s && !g_ascii_isspace( *s ) && *s != ':' && *s != ','; s ++ ) {}
if( *s == ':' || *s == ',' )
{
@@ -582,7 +582,7 @@ static gboolean control_channel_privmsg( irc_channel_t *ic, const char *msg )
memset( to, 0, sizeof( to ) );
strncpy( to, msg, s - msg );
- while( *(++s) && isspace( *s ) ) {}
+ while( *(++s) && g_ascii_isspace( *s ) ) {}
msg = s;
if( !( iu = irc_user_by_name( irc, to ) ) )