blob: b05efedc19ad740723b2b6b6e422f1813967165c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
package f00f.net.irc.martyr.replies;
import f00f.net.irc.martyr.InCommand;
public class LUserOpReply extends GenericStringReply
{
private int numOps;
public LUserOpReply()
{
}
public LUserOpReply( int ops, String string )
{
super( string );
this.numOps = ops;
}
public String getIrcIdentifier()
{
return "252";
}
public InCommand parse( String prefix, String identifier, String params )
{
return new LUserOpReply( getIntParameter( params, 1, -1 ), getParameter( params, 2 ) );
}
public int getNumOps()
{
return numOps;
}
}
|