[jetrix-cvs] SF.net SVN: jetrix:[770] jetrix/trunk/src/java/net/jetrix/commands/ OperatorCommand.ja
Brought to you by:
smanux
From: <sm...@us...> - 2008-11-11 16:36:33
|
Revision: 770 http://jetrix.svn.sourceforge.net/jetrix/?rev=770&view=rev Author: smanux Date: 2008-11-11 16:36:23 +0000 (Tue, 11 Nov 2008) Log Message: ----------- Fixed OperatorCommand to set the correct access level (thanks to the tetrinet.de team) Modified Paths: -------------- jetrix/trunk/src/java/net/jetrix/commands/OperatorCommand.java Modified: jetrix/trunk/src/java/net/jetrix/commands/OperatorCommand.java =================================================================== --- jetrix/trunk/src/java/net/jetrix/commands/OperatorCommand.java 2008-09-16 10:23:20 UTC (rev 769) +++ jetrix/trunk/src/java/net/jetrix/commands/OperatorCommand.java 2008-11-11 16:36:23 UTC (rev 770) @@ -59,7 +59,7 @@ if (password.equalsIgnoreCase(conf.getOpPassword())) { // access granted - client.getUser().setAccessLevel(1); + client.getUser().setAccessLevel(AccessLevel.OPERATOR); PlineMessage response = new PlineMessage(); response.setKey("command.operator.granted"); client.send(response); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |