diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-01-17 12:54:20 +0100 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-01-17 12:54:20 +0100 |
commit | 2f28f585b12880d3cddab9d634fedff2f5954485 (patch) | |
tree | 370433972f687616fad54dfbe0ab11bda7db1aff /src/net/netcomputer.cpp | |
parent | ba6a9e534cfab2ecab6e120af4ab6ae11aee26c4 (diff) | |
parent | d1b73b1195f8e8b2ad64ff692e7ddb17ed0bbad1 (diff) | |
download | manaserv-2f28f585b12880d3cddab9d634fedff2f5954485.tar.gz manaserv-2f28f585b12880d3cddab9d634fedff2f5954485.tar.bz2 manaserv-2f28f585b12880d3cddab9d634fedff2f5954485.tar.xz manaserv-2f28f585b12880d3cddab9d634fedff2f5954485.zip |
Merge branch 'master' of git@gitorious.org:tmwserv/mainline
Diffstat (limited to 'src/net/netcomputer.cpp')
-rw-r--r-- | src/net/netcomputer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/netcomputer.cpp b/src/net/netcomputer.cpp index ff2bbb71..2ce30c02 100644 --- a/src/net/netcomputer.cpp +++ b/src/net/netcomputer.cpp @@ -103,3 +103,8 @@ operator <<(std::ostream &os, const NetComputer &comp) return os; } + +int NetComputer::getIP() +{ + return mPeer->address.host; +} |