Diffstat (limited to 'noncore/net/opieirc/ircperson.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircperson.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/net/opieirc/ircperson.cpp b/noncore/net/opieirc/ircperson.cpp index bd341f1..2f5b435 100644 --- a/noncore/net/opieirc/ircperson.cpp +++ b/noncore/net/opieirc/ircperson.cpp @@ -1,26 +1,25 @@ #include "ircperson.h" -#include <stdio.h> IRCPerson::IRCPerson() { m_nick = ""; m_user = ""; m_host = ""; } IRCPerson::IRCPerson(const IRCPerson &person) { m_nick = person.m_nick; m_user = person.m_user; m_host = person.m_host; } IRCPerson::IRCPerson(QString mask) { IRCPerson(); fromMask(mask); } void IRCPerson::fromMask(QString mask) { int sep1 = mask.find("!"); int sep2 = mask.find("@"); m_nick = mask.left(sep1); m_user = mask.mid(sep1+1, sep2-sep1-1); |