| 16 |
|
* |
| 17 |
|
* You should have received a copy of the GNU General Public License |
| 18 |
|
* along with this program; if not, write to the Free Software |
| 19 |
< |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
| 19 |
> |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 |
| 20 |
|
* USA |
| 21 |
|
*/ |
| 22 |
|
|
| 109 |
|
|
| 110 |
|
detach_conf(target_p, CONF_OPER); |
| 111 |
|
ClrOFlag(target_p); |
| 112 |
< |
DelUMode(target_p, ConfigFileEntry.oper_only_umodes); |
| 112 |
> |
DelUMode(target_p, ConfigGeneral.oper_only_umodes); |
| 113 |
|
|
| 114 |
|
if ((dm = dlinkFindDelete(&oper_list, target_p))) |
| 115 |
|
free_dlink_node(dm); |
| 163 |
|
{ |
| 164 |
|
char modebuf[IRCD_BUFSIZE] = ""; |
| 165 |
|
|
| 166 |
< |
send_umode(target_p, target_p, setmodes, 0xffffffff, modebuf); |
| 166 |
> |
send_umode(target_p, target_p, setmodes, modebuf); |
| 167 |
|
} |
| 168 |
|
|
| 169 |
|
return 0; |
| 171 |
|
|
| 172 |
|
static struct Message svsmode_msgtab = |
| 173 |
|
{ |
| 174 |
< |
"SVSMODE", 0, 0, 4, MAXPARA, MFLG_SLOW, 0, |
| 174 |
> |
"SVSMODE", NULL, 0, 0, 4, MAXPARA, MFLG_SLOW, 0, |
| 175 |
|
{ m_ignore, m_ignore, ms_svsmode, m_ignore, m_ignore, m_ignore } |
| 176 |
|
}; |
| 177 |
|
|