alexyoung / ircd.js

A Node ircd (IRC daemon)
GNU General Public License v3.0
528 stars 90 forks source link

/OPER possible failure #70

Open slifin opened 10 years ago

slifin commented 10 years ago

I'm trying to figure out how to get ops within a channel or at least ops privileges

I've used /OPER username password and I can see that the request authenticates

then this code is called:

user.send(self.host, irc.reply.youAreOper, user.nick, ':You are now an IRC operator');
user.oper();

but the user is not granted ops, is there any other way that could be used to moderate users

sespindola commented 10 years ago

Hi, /OPER hashes the password you give it, checks it agains oper users in the configuration file and grants you IRC operator privileges, which right now doesn't amount to much.

I'm working on adding support for granting channel ops and voice with /mode, as it should be.

Sebastian.-