• R/O
  • SSH
  • HTTPS

jinrousiki: コミット


コミットメタ情報

リビジョン2045 (tree)
日時2017-06-11 03:48:57
作者umethyl

ログメッセージ

TalkBuilder::Talk()

変更サマリ

差分

--- trunk/include/talk/talk_class.php (revision 2044)
+++ trunk/include/talk/talk_class.php (revision 2045)
@@ -328,7 +328,7 @@
328328 return $this->TalkHeaven($talk, $symbol, $name);
329329
330330 default:
331- return $this->Add($talk, $actor, $real);
331+ return $this->Talk($talk, $actor, $real);
332332 }
333333 }
334334
@@ -558,8 +558,8 @@
558558 return false;
559559 }
560560
561- //標準発言
562- private function Add(TalkParser $talk, User $user, $real = null) {
561+ //発言
562+ private function Talk(TalkParser $talk, User $user, $real = null) {
563563 //表示情報を抽出
564564 $symbol = $this->GetSymbol($talk, $user);
565565 $name = $this->GetHandleName($talk, $user);
@@ -657,13 +657,13 @@
657657 $talk->sentence = RoleTalkMessage::COMMON_TALK;
658658 }
659659 }
660- return $this->Add($talk, $actor, $real);
660+ return $this->Talk($talk, $actor, $real);
661661 }
662662
663663 //発言 (夜)
664664 private function TalkNight(TalkParser $talk, User $actor, User $real_actor, User $real) {
665665 if ($this->IsMindRead($talk, $actor, $real_actor)) { //発言透過判定
666- return $this->Add($talk, $actor, $real);
666+ return $this->Talk($talk, $actor, $real);
667667 }
668668
669669 switch ($talk->location) {
旧リポジトリブラウザで表示