Parcourir la source

fix misc typos

Mike il y a 2 ans
Parent
commit
93b2b81748
3 fichiers modifiés avec 4 ajouts et 7 suppressions
  1. 1 1
      config/settings.env
  2. 2 3
      foodgroup/oservice.go
  3. 1 3
      server/oscar/handler/routes.go

+ 1 - 1
config/settings.env

@@ -25,7 +25,7 @@ export FAIL_FAST=false
 
 # Set logging granularity. Possible values: 'trace', 'debug', 'info', 'warn',
 # 'error'.
-export LOG_LEVEL=debug
+export LOG_LEVEL=info
 
 # The hostname that AIM clients connect to in order to reach OSCAR services
 # (BOS, BUCP, chat, etc). Make sure the hostname is reachable by all clients.

+ 2 - 3
foodgroup/oservice.go

@@ -449,7 +449,6 @@ func (s OServiceServiceForBOS) HostOnline() wire.SNACMessage {
 
 // ClientOnline runs when the current user is ready to join.
 // It performs the following sequence of actions:
-//   - Pulls the buddy icon from the feedbag and set it on the session.
 //   - Announce current user's arrival to users who have the current user on
 //     their buddy list.
 //   - Send current user its buddy list.
@@ -543,9 +542,9 @@ type OServiceServiceForChatNav struct {
 	chatRegistry *state.ChatRegistry
 }
 
-// HostOnline initiates the Chat protocol sequence.
+// HostOnline initiates the ChatNav protocol sequence.
 // It returns SNAC wire.OServiceHostOnline containing the list of food groups
-// supported by the Chat service.
+// supported by the ChatNav service.
 // ChatNav is provided by BOS in addition to the standalone ChatNav service.
 // AIM 4.x always creates a secondary TCP connection for ChatNav, whereas 5.x
 // can use the existing BOS connection for ChatNav services.

+ 1 - 3
server/oscar/handler/routes.go

@@ -96,8 +96,7 @@ func NewChatRouter(h Handlers) oscar.Router {
 }
 
 // NewChatNavRouter initializes and configures a new Router instance for
-// handling OSCAR protocol requests in the context of a Basic Oscar Service
-// (BOS).
+// handling OSCAR protocol requests in the context of the ChatNav service.
 func NewChatNavRouter(h Handlers) oscar.Router {
 	router := oscar.NewRouter()
 
@@ -110,7 +109,6 @@ func NewChatNavRouter(h Handlers) oscar.Router {
 	router.Register(wire.OService, wire.OServiceIdleNotification, h.OServiceChatNavHandler.OServiceHandler.IdleNotification)
 	router.Register(wire.OService, wire.OServiceRateParamsQuery, h.OServiceChatNavHandler.OServiceHandler.RateParamsQuery)
 	router.Register(wire.OService, wire.OServiceRateParamsSubAdd, h.OServiceChatNavHandler.OServiceHandler.RateParamsSubAdd)
-	//router.Register(wire.OService, wire.OServiceServiceRequest, h.OServiceChatNavHandler.ServiceRequest)
 	router.Register(wire.OService, wire.OServiceSetUserInfoFields, h.OServiceChatNavHandler.OServiceHandler.SetUserInfoFields)
 	router.Register(wire.OService, wire.OServiceUserInfoQuery, h.OServiceChatNavHandler.OServiceHandler.UserInfoQuery)