projects
/
xudocci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store all downloads.
[xudocci.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
irc
/
Source.java
diff --git
a/src/main/java/net/pterodactylus/irc/Source.java
b/src/main/java/net/pterodactylus/irc/Source.java
index
fc9d328
..
b2f61d4
100644
(file)
--- a/
src/main/java/net/pterodactylus/irc/Source.java
+++ b/
src/main/java/net/pterodactylus/irc/Source.java
@@
-105,6
+105,11
@@
public class Source {
return true;
}
return true;
}
+ @Override
+ public String toString() {
+ return (nick.isPresent() ? nick().get() + "!" : "") + (username().isPresent() ? username.get() + "@" : "") + server;
+ }
+
//
// STATIC METHODS
//
//
// STATIC METHODS
//