/*
* ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001-2013 Alexander Barton (alex@barton.de) and Contributors.
+ * Copyright (c)2001-2014 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
#include "irc-write.h"
#include "op.h"
+#include "irc-server.h"
+
/**
* Handler for the IRC "SERVER" command.
*
if( *ptr == '~' ) is_owner = true;
if( *ptr == '&' ) is_chanadmin = true;
if( *ptr == '@' ) is_op = true;
- if( *ptr == 'h' ) is_halfop = true;
+ if( *ptr == '%' ) is_halfop = true;
if( *ptr == '+' ) is_voiced = true;
ptr++;
}