|
@@ -22,6 +22,8 @@
|
22
|
22
|
|
23
|
23
|
package com.dmdirc;
|
24
|
24
|
|
|
25
|
+import com.dmdirc.parser.ClientInfo;
|
|
26
|
+
|
25
|
27
|
import java.util.Date;
|
26
|
28
|
|
27
|
29
|
/**
|
|
@@ -85,12 +87,12 @@ public class Invite {
|
85
|
87
|
}
|
86
|
88
|
|
87
|
89
|
/**
|
88
|
|
- * Retrieves the source of this invite.
|
|
90
|
+ * Retrieves the nickname, ident and hostname of this invite's source.
|
89
|
91
|
*
|
90
|
92
|
* @return This invite's source
|
91
|
93
|
*/
|
92
|
|
- public String getSource() {
|
93
|
|
- return source;
|
|
94
|
+ public String[] getSource() {
|
|
95
|
+ return ClientInfo.parseHostFull(source);
|
94
|
96
|
}
|
95
|
97
|
|
96
|
98
|
/**
|