blob: 0124311120e8981c2c904fba022a1d011f920f26 (
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 NowAwayReply extends GenericReply
{
/* Should always be You have been marked as being away */
private String message;
/**
* Factory constructor.
*/
public NowAwayReply()
{
}
public NowAwayReply(String message)
{
this.message = message;
}
public String getIrcIdentifier()
{
return "306";
}
public InCommand parse( String prefix, String identifier, String params )
{
return new NowAwayReply(getParameter(params, 0));
}
public String getMessage()
{
return message;
}
}
|