blob: f4652f0cecc82ffbcfc8629ee8415cd608ddc046 (
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
37
38
39
40
41
42
43
|
package f00f.net.irc.martyr.replies;
import f00f.net.irc.martyr.InCommand;
/**
* Signals that you were successfully marked un-away.
*
* @author Daniel Henninger
*/
public class UnAwayReply extends GenericReply
{
/* Should always be You are no longer marked as being away */
private String message;
/**
* Factory constructor.
*/
public UnAwayReply()
{
}
public UnAwayReply(String message)
{
this.message = message;
}
public String getIrcIdentifier()
{
return "305";
}
public InCommand parse( String prefix, String identifier, String params )
{
return new UnAwayReply(getParameter(params, 0));
}
public String getMessage()
{
return message;
}
}
|