summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-13 16:00:07 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-13 16:00:07 +0800
commit9671494643c68203da5fcf777a3c61720d29000a (patch)
treebbdcf044d7dcbbd172f6f0a2ed65316e7b981565 /mbbsd/talk.c
parent8601b22b64b7f524e299773a6915bbedb5f78ab4 (diff)
downloadpttbbs-9671494643c68203da5fcf777a3c61720d29000a.tar
pttbbs-9671494643c68203da5fcf777a3c61720d29000a.tar.gz
pttbbs-9671494643c68203da5fcf777a3c61720d29000a.tar.bz2
pttbbs-9671494643c68203da5fcf777a3c61720d29000a.tar.lz
pttbbs-9671494643c68203da5fcf777a3c61720d29000a.tar.xz
pttbbs-9671494643c68203da5fcf777a3c61720d29000a.tar.zst
pttbbs-9671494643c68203da5fcf777a3c61720d29000a.zip
WARNING: THIS PATCHSET CHANGED SHM STRUCTURE. PLEASE READ UPDATING CAREFULLY.
- (internal) change IP/from sorting mechanism. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4307 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 1fc2085c..3ff0c00e 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1970,14 +1970,7 @@ descript(int show_mode, const userinfo_t * uentp, int diff)
return friend_descript(uentp, description, sizeof(description));
case 0:
return (((uentp->pager != PAGER_DISABLE && uentp->pager != PAGER_ANTIWB && diff) ||
- HasUserPerm(PERM_SYSOP)) ?
-#ifdef WHERE
- uentp->from_alias ? SHM->home_desc[uentp->from_alias] :
- uentp->from
-#else
- uentp->from
-#endif
- : "*");
+ HasUserPerm(PERM_SYSOP)) ? uentp->from : "*");
case 2:
snprintf(description, sizeof(description),
"%4d/%4d/%2d %c", uentp->five_win,